package cn.driver.manager.service;

import cn.driver.common.pojo.Notice;

import java.util.Date;
import java.util.List;

/**
 * 1
 */
public interface AdminService {
    List<Notice> getNoticeList();

    boolean addNotice(String title, Date annouceTime, String text, String publisher, String cover);

    boolean updateNotice(int id, String title, String text, String cover);

    boolean deleteNotice(int id);

}
